/*
 * @Description: 
 * @Author: HKH
 * @Date: 2024-10-10 15:14:41
 * @LastEditors: HKH
 * @LastEditTime: 2024-10-11 08:57:03
 */


public class Test2 {
    public static void main(String[] args) {
        // 获取当前的线程对象 - 执行当前方法的线程
        Thread thread = Thread.currentThread();
        System.out.println(thread.getName());
      }
    
    }